﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace POS
{
    public delegate void LoginEvent(FCNS.Data.Table.UserS user);
    public delegate void PayEvent(double payMoney);

    public interface ILoginTemplete
    {       
       event LoginEvent Logined;
    }

    public interface ISaleTemplete
    {
        void Init();

        void NewOrder();
        /// <summary>
        /// 挂单后需要更新UI就调用它
        /// </summary>
        void GuaDan();

        Int64 CorSId { get; }

        string VipNO { get; }

        string RemainIntegral { get; }

        //IList<FCNS.Data.Table.ProductS> ProductSList { get; }
    }

    public interface IPayTemplete
    {
        event PayEvent Payed;
    }

}
